<!--
/**
 * egpusersEntry.tpl
 * 
 * (C) 2009, tetsuya.odaka(EzoGP).
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
 
{include '../Myznala/templates/myHeader.tpl'}

<!-- ==========  追加スタイルとスクリプト   ============ -->
<style type="text/css"> 
</style> 

<!-- 入力フォーム用jsの読み込み-->
<script type="text/javascript" src="../scripts/myznala-form-yui.js"></script> 
<script type="text/javascript" src="scripts/egpusers-sync-inc.js"></script> 
	
<!-- ==========  以下がプログラム部   ================ -->

<h4>[sample]　登録</h4>

<br>
<div align="center">

<!-- id=form1がデフォルト,nameはcondにしてください。 -->
<form id="form1" method="POST" name="cond" 
			action="egpusersEntry.dispatch.php">

<!-- ボタンの表示 -->
{if $button_array}
	{include '../Myznala/templates/button.inc.tpl'}
{/if}

<!-- エラーがあれば表示する  -->
{if $myErrArray}
	{include '../Myznala/templates/error.inc.tpl'}
{/if}

<!-- 正常終了のメッセージ  -->
{if $myMsgArray}
	{include '../Myznala/templates/msg.inc.tpl'}
{/if}

<table border="1" style="width:400px;">
  <tbody>
    <tr>
    	<th align="left" colspan="3" style="font-weight:bold;">社員情報</th>
    </tr>
    <tr>
    	<th align="left">Email</th>
    	<th align="center"><font color="red">*<font></th>
    	<td><input id="email" type="text" name="email" size=50
    			class="egp-my-initguide egp-my-isEmail" value="xxx@xxx.xx">
			<span id="email_res" class="egp-my-error"></span>
    	</td>
    </tr>
    <tr>
    	<th align="left">パスワード</th>
    	<th><font color="red">*</font></th>
    	<td><input id ="password" type="password" name="password" size=25
    			class="egp-my-initguide egp-my-isAlphaNum" value="英数字のみ.">
    		<span id="password_res" class="egp-my-error"></span>
    	</td>
    </tr>
    <tr>
    	<th align="left">名前</th>
    	<th align="center"><font color="red">*<font></th>
    	<td><input id="name" type="text" name="name" size=50
    			class="egp-my-initguide egp-my-isRequired" value="漢字でお名前を入力ください.">
    		<span id="name_res" class="egp-my-error"></span>
    	</td>
    </tr>
    <tr><th align="left">よみ</th>
    	<th></th>
    	<td><input id="nameyomi" type="text" name="nameyomi" size=50
    			class="egp-my-initguide egp-my-inputonly-isHiragana" value="ひらがなでお名前を入力ください.">
    		<span id="nameyomi_res" class="egp-my-error"></span>
    	</td>
    </tr>
    <tr><th align="left">役割</th>
    	<th></th>
    	<td><select name="role">
      		<option value="guest" selected>guest</option>
      		<option value="manager">manager</option>
      		<option value="admin">admin</option>
			</select>
		</td>
    </tr>
  </tbody>
</table>
</form>
</div>
<!-- ==========  以上がプログラム部   ================ -->
{include '../Myznala/templates/myFooter.tpl'}
